Forward FastAPI reload scope options - #3987
Conversation
|
Triage update for the two failing checks on head 374bc45: |
T4rk1n
left a comment
There was a problem hiding this comment.
Looks good, just need a changelog entry.
|
|
Added the requested entry to CHANGELOG.md under Unreleased → Changed in commit 89563d0. I then merged the current dev head in 1afde44; the changelog entry remains present. git diff --check passes. The focused pytest could not collect because this environment lacks msgspec, so I did not install dependencies. |



Summary
Fixes #3962.
Forward the reload scope options passed to the FastAPI backend to the spawned Uvicorn process. This makes
reload_dirs,reload_excludes, andreload_includeseffective while preserving existing defaults.Tests
pytest -q tests/backend_tests/test_preconfig_backends.py::test_fastapi_run_forwards_reload_scopepython -m py_compile dash/backends/_fastapi.py tests/backend_tests/test_preconfig_backends.pyChecklist